package cn.felord.r2dbc.domain;

import java.time.LocalDateTime;

public interface Entity {

    String FIELD_ID = "_id";

    String FIELD_LAST_MODIFIED_AT = "lastModifiedAt";

    String FIELD_CREATED_AT = "createdAt";

    String FIELD_LAST_MODIFIED_BY = "lastModifiedBy";

    String FIELD_TENANT_CODE = "tenantCode";

    String getId();

    String getCreatedBy();

    LocalDateTime getCreatedAt();

    String getLastModifiedBy();

    LocalDateTime getLastModifiedAt();
}
